|
| Product | TransacXML | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Websydian version | 5.5 | ||||||||||||
| Resolved in | v5.6 | ||||||||||||
| Plex version | 5.1 | ||||||||||||
| Platform | Windows and Java | ||||||||||||
| Category | Development | ||||||||||||
| Question | Implicit (non-real) value objects scoped by the field WSYXML/CurrentFunction causes generation error "Library object 'WSYXML/CurrentFunction' cannot be modified". | ||||||||||||
| Answer | The problem is caused by new value objects added to the field FIELDS/Function, which WSYXML/CurrentFunction inherits from. | ||||||||||||
| Workaround | Replace the field WSYXML/CurrentFunction with a local field
that inherits from WSYXML/CurrentFunction. The replacement must be
done on all entities inheriting from WSYXML/XmlElement. Example: Create a new field as replacement for WSYXML/CurrentFunction and create an abstract entity that replaces the library field WSYXML/CurrentFunction with the newly created field.
Make sure that all XML element entities in the model inherits from MyXmlElement instead of WSYXML/XmlElement. |